@import "normalize";
@import "base";
@import "variable";

// 字体大小设置
.font_dpr(@font-size: 16px) {
  font-size: @font-size;

  [data-dpr= "2"] & {
    font-size: @font-size * 2;
  }
  [data-dpr= "3"] & {
    font-size: @font-size * 3;
  }
}

.main {
  .category {
    padding: 10rem/@base;
    border-top: 2rem/@base solid #d3d3d3;

    .title {
      a {
        display: block;
        height: 78rem/@base;
        line-height: 78rem/@base;
        color: #000;
        .font_dpr(16px);
        border-bottom: 2rem/@base solid #d3d3d3;
        text-decoration: none;
        position: relative;
        font-weight: 700;
        padding-left: 35rem/@base;
        background-color: #ededed;
      }
      img {
        width: 40rem/@base;
        height: 40rem/@base;
        position: absolute;
        top: 19rem/@base;
        right: 10rem/@base;
      }
    }
    .info {
      display: none;
    }
    .info li {
      float: left;
      width: 33.33%;

      a {
        display: block;
        border: 1rem/@base solid #d3d3d3;
        height: 80rem/@base;
        text-align: center;
        line-height: 80rem/@base;
      }
    }
  }
}